From: Jasper St. Pierre Date: Wed, 15 Oct 2014 02:59:29 +0000 (-0700) Subject: gdm: Don't throw an error if there's no logo file X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~2017 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=0f63ad0fc1ca22a6993baf457ca539f02cc8f304;p=gnome-shell.git gdm: Don't throw an error if there's no logo file --- diff --git a/js/gdm/loginDialog.js b/js/gdm/loginDialog.js index 5564d7655..724b28b00 100644 --- a/js/gdm/loginDialog.js +++ b/js/gdm/loginDialog.js @@ -538,7 +538,7 @@ const LoginDialog = new Lang.Class({ }, _updateLogoTexture: function(cache, file) { - if (!this._logoFile.equal(file)) + if (this._logoFile && !this._logoFile.equal(file)) return; this._logoBin.destroy_all_children();